package com.up.upzl.biz.service;

import java.util.Date;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.up.upzl.base.service.BaseService;
import com.up.upzl.biz.domain.Customer;
import com.up.upzl.biz.domain.Customer.EntrustType;

/**
 * 客源管理
 * 
 * @author joker
 *
 */
public interface CustomerService extends BaseService<Customer, Long> {

	Page<Customer> findByCondition(String account, Date beginTime, Date endTime, Pageable page);
	
	Page<Customer> findByCondition(String account,EntrustType entrustType, Date beginTime, Date endTime, Pageable page);
}
